package edu.kit.aifb.lidasora.ppmModel.transitionCount;

/**
 * This class models a transition count
 * 
 * This class models a simple transition count. For each true prediction, the
 * count is incremented by one, otherwise nothing happens. This class
 * is thread-safe.
 * 
 * @author Daniel
 * @see TransitionCount
 */
public class NoDecrement extends TransitionCount{

	
	/**
	 * {inheritDoc}
	 */
	@Override
	public void truePrediction() {
		count.incrementAndGet();
		
	}

	/**
	 * {inheritDoc}
	 */
	@Override
	public void falsePrediction() {
		//do nothing		
	}

	/**
	 * {inheritDoc}
	 */
	@Override
	public double getTransitionValue() {
		return count.get();
	}

}
